//
//  CAnAlgActIntnstyHisData.h
//  CareRingApp
//
//  Created  on 2025/1/16.
//
    

#import <Foundation/Foundation.h>
#import "CANalgProtocal.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(uint8_t, ACT_INTNT_TYPE) {
    ACT_INTNT_Sedentary = 1,//Being sedentary
    ACT_INTNT_LOW = 2,      //Low activity intensity
    ACT_INTNT_MODERATE = 3, //Moderate activity intensity
    ACT_INTNT_HIGH = 4,     //High intensity activity
};

@interface CAnAlgActIntnstyHisData : NSObject<CANalgProtocal>

@property(assign, nonatomic)NSUInteger timeStamp;
@property(strong, nonatomic)NSNumber * dataUuid;
@property(strong, nonatomic)NSNumber * step;
@property(strong, nonatomic)NSNumber *skinTemp; // nil = invalid value
@property(assign, nonatomic)ACT_INTNT_TYPE activityIntensity;

@property(strong, nonatomic)NSNumber *accStandardDeviation;


-(instancetype)initWith:(NSData *)data;

-(NSNumber *)dataTimeStamp;
@end

NS_ASSUME_NONNULL_END
